package cn.javabb.core.entity.pay;

import cn.javabb.core.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Author javabb
 * @Date 2019/8/14 0014 下午 5:39
 * @Desc
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "pay_goods_qr")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class GoodsQrDO extends BaseEntity {

    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    private Double price;
    private String payNumber;
    private String imgUrl;
    private Integer type;
    private Integer state; //
    @Transient
    private Integer payingCount;
}
